// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
import { roterPre } from '@/settings'
const statisticsRouter =
  {
    path: `${roterPre}/statistics`,
    name: 'statistics',
    meta: {
      title: '员工管理'
    },
    alwaysShow: true,
    component: Layout,
    children: [
      {
        path: 'statisticsCompany',
        component: () => import('@/views/statistics/company/index'),
        name: 'StatisticsCompany',
        meta: { title: '子公司排名', noCache: false }
      },
      {
        path: 'statisticsStaff',
        component: () => import('@/views/statistics/staff/index'),
        name: 'StatisticsStaff',
        meta: { title: '销售员工排名', noCache: false }
      },
    ]
  }

export default statisticsRouter
